<HTML>   
<HEAD><TITLE>DataBase Search</TITLE></HEAD>  
<BODY>

<%@ page language="Java" import="java.sql.*" %>  

<jsp:useBean id="db" scope="request" class="loginbean.LoginBean" >

<jsp:setProperty name="db" property="userName" value='<%=request.getParameter("userName")%>'/>
<jsp:setProperty name="db" property="password" value='<%=request.getParameter("password")%>'/>

  </jsp:useBean>
<jsp:forward page="authenticate">
<jsp:param name="username" value='<%=db.getUserName()%>' />
<jsp:param name="password" value='<%=db.getPassword()%>' />

</jsp:forward> 


</body>
</html>